/*
 * board_config.h
 *
 *  Created on: Jan 9, 2017
 *      Author: duobao
 */

#ifndef BOARD_CONFIG_H_
#define BOARD_CONFIG_H_

/*
 * GPIO0  -> IRCUT_ON
 * GPIO1  -> IRCUT_OFF
 * GPIO2  -> USB_PWREN
 * GPIO11 -> EMAC PHY Reset
 * GPIO12 -> CIS_CLK
 * GPIO13 -> CIS_RSTN
 * GPIO14 -> CIS_PDN
 * GPIO19 -> SD1_PWREN/WIFI_REG_ON
 * GPIO20 -> AK7755 Reset
 * GPIO24 -> LED0
 * GPIO25 -> LED1
 * GPIO26 -> Reset Configs
 * GPIO27 -> AK7755 PowerDown
 * GPIO28 -> IR
 * GPIO53 -> USB_PWREN/SD0_PWREN
 * GPIO55 -> SD1 WIFI Interrupt
 */

#define CONFIG_GPIO_EMACPHY_RESET	16
#define CONFIG_GPIO_EMACPHY_RXDV	54

#define CONFIG_GPIO_USB_PWREN	47

#define CONFIG_HEVC_CLK_RATE  240000000
#define CONFIG_PAE_CLK_RATE   400000000

#define USB_VBUS_PWR_GPIO    (47)

#define CONFIG_PINCTRL_SELECT                   \
	"ETH", "I2C0", "MIPI", "PWM2", "PWM3", "PWM4", "PWM5",  \
	"PWM6", "PWM7", "PWM8", "PWM9", "RMII", "SADC_XAIN0",   \
	"SADC_XAIN1", "SADC_XAIN2", "SADC_XAIN3", "SD0_NO_WP",  \
	"SD1_NO_WP", "SENSOR_CLK", "SSI0_4BIT", "UART0",    \
	"UART1", "GPIO4", "GPIO13", "GPIO14", "GPIO15", \
	"GPIO16", "GPIO30", "GPIO31", "GPIO32", "GPIO43",   \
	"GPIO44", "GPIO45", "GPIO46", "GPIO47", \
	"GPIO11"


#endif /* BOARD_CONFIG_H_ */
